using System;
using System.Windows.Forms;

namespace ThinkDotNetPlatform
{
#if WINDOWS || XBOX
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            if (args.Length != 1)
            {
                MessageBox.Show("You must specify map file.");
                return;
            }

            using (ThinkDotNetGame game = new ThinkDotNetGame(args[0]))
            {
                game.Run();
            }
        }
    }
#endif
}

